
#ifndef __MUTEX_H
#define __MUTEX_H

class Mutex {
 public:
  Mutex ();

  bool lock (bool block = true);
  void unlock ();
  pthread_mutex_t* c_mutex ();

  ~Mutex ();

 private: 
  pthread_mutex_t mutexInfo; 
};

#endif /* __MUTEX_H */
